package com.client.pojo;


import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data

public class Order {

    private String orderId;
    private String userId;
    private BigDecimal orderAmount;
    private Integer orderStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 关联订单项，一对多关系
    private List<OrderItem> orderItems;
}